/***********************************************************************
    filename:   DaterUser.h
    created:    21/4/2012
    author:     4Ys

    purpose:    Implements abstract base class for User objects
*************************************************************************/

#include "DaterUser.h"

namespace Dater
{
	//----------------------------------------------------------------------------//
	User::User(const std::string& hypocorism, int uid, const std::string gender, const std::string birthday, const std::string& state) : 
		_hypocorism(hypocorism),
		_uid(uid),
		_gender(gender),
		_birthday(birthday),
		_state(state)
	{
		//_calendar = new Calendar(_uid);
	}

	//----------------------------------------------------------------------------//
	User::~User()
	{
		//delete _calendar;
	}

	//----------------------------------------------------------------------------//
	int User::getUid()
	{
		return _uid;
	}

	//----------------------------------------------------------------------------//
	std::string& User::getHypocorism()
	{
		return _hypocorism;
	}

	//----------------------------------------------------------------------------//
	//Calendar* User::getCalendar()
	//{
	//	return _calendar;
	//}

	//----------------------------------------------------------------------------//
	std::string& User::getState()
	{
		return _state;
	}

	//----------------------------------------------------------------------------//
}